package com.kun.controller;

import com.kun.dynamic.aop.Ds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kun.li
 */
@RestController
@Ds("second")
public class HelloController {
    @Autowired
    private HelloController2 helloController2;


    @GetMapping("testA")
    public void testA() {
        helloController2.testA();
        System.out.println("HelloController testA");
    }

    @GetMapping("testB")
    public void testB() {
        helloController2.testB();
        System.out.println("HelloController testB");
    }
}
